﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Reddit.EndpointRetriever;

namespace Reddit
{
    public class HttpRedditApi : RedditApiBase<string>
    {
        public HttpRedditApi() : this("www.reddit.com", "json") { }
        public HttpRedditApi(string host, string extension)
            : this(new UrlEndpointRetriever(host, extension))
        { }
        public HttpRedditApi(IEndpointRetriever<string> urlEndpointRetriever)
            : base(new HttpEndpointRetriever(urlEndpointRetriever)) { }
    }
}
